<template>
  <div class="flex h-full w-full items-center">
    <img :src="imgUrl" class="mr-2 h-[14px] w-[14px]" />
    <span>{{ title }}</span>
  </div>
</template>

<script setup lang="tsx">
import { ref } from 'vue';

defineProps({
  imgUrl: {
    type: String,
    default: '/static/screen/popup-icon.png',
  },
  title: {
    type: String,
    default: '标题',
  },
});
</script>

<style lang="scss" scoped></style>
